package com.techedge.insidetrack

class Attendee {

	User user
	Insidetrack insideTrack
	String note
	Location location 
	
	static belongsTo = [Insidetrack]
	
	static constraints = {
		note(blank:false, nullable:true, size:3..500)
		user(nullable:false)
		insideTrack(nullable:false)
		location(nullable:true)
	}

	String toString(){
		return user.name;
	}
	
}
